<?php
/*
 * Created on 2011-4-23
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
$ua=getenv(HTTP_USER_AGENT);
echo $ua;

if(preg_match("/MSIE/",$ua)){
	echo 'ie';
}else if(preg_match("/Firefox/",$ua)){
	echo 'firefox';
}else{
	
}
?>
